﻿using System;
using System.Collections.Generic;

namespace Gx.Model
{
    [Serializable]
    public partial class PageUrlInfo
    {
        private string _id;
        private string _urlname;
        private string _url;
        private string _icon;
        private string _levelid;
        private byte _status;
        private byte _sort;
        public string ID
        {
            get
            {
                if (_id == null)
                {
                    return "";
                }
                return _id;
            }
            set { _id = value; }
        }
        public string UrlName
        {
            get
            {
                if (_urlname == null)
                {
                    return "";
                }
                return _urlname;
            }
            set { _urlname = value; }
        }
        public string Url
        {
            get
            {
                if (_url == null)
                {
                    return "";
                }
                return _url;
            }
            set { _url = value; }
        }
        public string Icon
        {
            get
            {
                if (_icon == null)
                {
                    return "";
                }
                return _icon;
            }
            set { _icon = value; }
        }
        public string LevelID
        {
            get
            {
                if (_levelid == null)
                {
                    return "";
                }
                return _levelid;
            }
            set { _levelid = value; }
        }
        public byte Status
        {
            get
            {
                return _status;
            }
            set { _status = value; }
        }
        public byte Sort
        {
            get
            {
                return _sort;
            }
            set { _sort = value; }
        }
    }

    public partial class PageUrlInfo {

        /// <summary>
        /// closed opend
        /// </summary>
        public string state { get; set; }
        public List<PageUrlInfo> children { get; set; }
    }

}
